using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Windows.Input;
using System.Diagnostics.Contracts;

namespace AppToolkit.WPF.UI.Search
{
    /// <summary>
    /// Specifies Error states for <see cref="SearchContext&lt;TItem&gt;"/> class.
    /// </summary>
    public enum ErrorInfo
    {
        /// <summary>
        /// No error occured.
        /// </summary>
        NoError,
        /// <summary>
        /// Search did not return any results.
        /// </summary>
        ResultSetIsEmpty,
        /// <summary>
        /// No further items were found.
        /// </summary>
        LastItemReached,
        /// <summary>
        /// First item was already reached.
        /// </summary>
        FirstItemReached,
    }
}
